7c91e5d311fd18d008dc72126654a609b9f955e5,cermine-impl/src/main/java/pl/edu/icm/cermine/structure/tools/BxModelUtils.java,BxModelUtils,deepClone,#BxLine#,181

Before Change


     * @return
     */
    public static BxLine deepClone(BxLine line) {
        BxLine copy = new BxLine().setBounds(line.getBounds());
        for (BxWord word : line) {
            BxWord copiedWord = deepClone(word);
            copiedWord.setParent(copy);

After Change


     * @return
     */
    public static BxLine deepClone(BxLine line) {
        BxLine copy = new BxLine().setBounds(deepClone(line.getBounds()));
        copy.setId(line.getId());
        copy.setNextId(line.getNextId());
        BxWord prevW = null;
        BxChunk prevC = null;
        for (BxWord word : line) {